.wrapper {}

.dateAndAmount {
    background: var(--overlay-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    font-family: monospace;
    border-top: 1px solid var(--button-border-color);

    >.date {
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: start;
        color: var(--date-text);

        .icon {
            width: 24px;
            height: 24px;
            margin-right: 8px;
            fill: var(--amount-text);
        }
    }

    >.amount {
        font-size: 24px;
        color: var(--amount-text);
        font-weight: bold;
    }
}

.buttons {
    display: grid;
    grid-template-areas:
        "n1 n2 n3 d"
        "n4 n5 n6 d"
        "n7 n8 n9 s"
        "n0 n0 nd s";
    grid-auto-rows: 48px;
    grid-auto-columns: 1fr;
    gap: 1px;
    flex-wrap: wrap;
    background: var(--button-border-color);
    border-top: 1px solid var(--button-border-color);

    >button {
        border: none;
        background: var(--number-button-bg);
        font-weight: bold;
        font-size: 20px;

        &:nth-child(1) {
            grid-area: n1;
        }

        &:nth-child(2) {
            grid-area: n2;
        }

        &:nth-child(3) {
            grid-area: n3;
        }

        &:nth-child(4) {
            grid-area: n4;
        }

        &:nth-child(5) {
            grid-area: n5;
        }

        &:nth-child(6) {
            grid-area: n6;
        }

        &:nth-child(7) {
            grid-area: n7;
        }

        &:nth-child(8) {
            grid-area: n8;
        }

        &:nth-child(9) {
            grid-area: n9;
        }

        &:nth-child(10) {
            grid-area: nd;
        }

        &:nth-child(11) {
            grid-area: n0;
        }

        &:nth-child(12) {
            grid-area: d;
        }

        &:nth-child(13) {
            grid-area: s;
            background: var(--number-button-bg-important);
            color: var(--number-button-text-important);
        }
    }
}